import http from '@/common/http.js'
var common = 'web/api/v1/new/app/'
export default {
	smsCode: (data, header) => {
		return http.request(common+'sms/code', "post", data, header)
	},
	checkout: (data, header) => {
		return http.request(common+'bind/phone/checkout', "POST", data, header)
	},
	userInfo: (data, header) => {
		return http.request(common+'detail', "POST", data, header)
	},
	simLogin: (data, header) => {
		return http.request(common+'sim/login', "post", data, header)
	},
	soldPkg: (data, header) => {
		return http.request(common+'user/soldPkg', "get", data, header)
	},
	payChanle: (data, header) => {
		return http.request(common+'pay/chanle', "post", data, header)
	},
	updateState: (data, header) => {
		return http.request(common+'update/isAuto/state', "post", data, header)
	},
	isAutoState: (data, header) => {
		return http.request(common+'select/isAuto/state', "post", data, header)
	},
	salePrice: (data, header) => {
		return http.request(common+'show/salePrice', "post", data, header)
	},
	activityTimer: (data, header) => {
		return http.request(common+'activity/timer', "post", data, header)
	},
	appTitle: (data, header) => {
		return http.request(common+'get/app/title', "post", data, header)
	},
	authUrl: (data, header) => {
		return http.request(common+'get/auth/url', "post", data, header)
	},
	kefuUrl: (data, header) => {
		return http.request(common+'get/kefu/url', "post", data, header)
	},
	oneButton: (data, header) => {
		return http.request(common+'new/oneButton', "post", data, header)
	},
	uniorderParam: (data, header) => {
		return http.request(common+'uniorder/param', "post", data, header)
	},
	resetPaypass: (data, header) => {
		return http.request(common+'user/resetPaypass', "post", data, header)
	},
	investOrder: (data, header) => {
		return http.request(common+'user/create/investOrder', "post", data, header)
	},
	account: (data, header) => {
		return http.request(common+'get/user/account', "post", data, header)
	},
	active: (data, header) => {
		return http.request(common+'to/active', "post", data, header)
	},
	sysUserPkg: (data, header) => {
		return http.request(common+'sysUser/wx/ye/pkg', "post", data, header)
	},
	userOrder: (data, header) => {
		return http.request(common+'wx/user/investOrder', "post", data, header)
	},
	listPage: (data, header) => {
		return http.request(common+'pkgOrder/listPage', "post", data, header)
	},
	sysUserAccountFlowService: (data, header) => {
		return http.request(common+'querySysUserAccountFlow', "post", data, header)
	},
	menunPorwer: (data, header) => {
		return http.request(common+'get/menun/porwer', "post", data, header)
	},
	priceOrder: (data, header) => {
		return http.request(common+'create/price/order', "post", data, header)
	},
	pkgOrder: (data, header) => {
		return http.request(common+'create/pkg/order', "post", data, header)
	},
	userUniorder: (data, header) => {
		return http.request(common+'user/uniorder', "post", data, header)
	},
	appUpDate: (data, header) => {
		return http.request(common+'app/update', "post", data, header)
	},
	orderState: (data, header) => {
		return http.request(common+'select/order/state', "post", data, header)
	},
	iccidList: (data, header) => {
		return http.request(common+'select/iccid/list', "post", data, header)
	},
	priceInfos: (data, header) => {
		return http.request(common+'select/price/infos', "post", data, header)
	},
}